/*     */ package com.yss.sofa.cml.design;
/*     */ 
/*     */ import com.yss.sofa.cml.BoxElement;
/*     */ import com.yss.sofa.cml.LineBox;
/*     */ import com.yss.sofa.cml.Padding;
/*     */ import com.yss.sofa.cml.color.Color;
/*     */ import com.yss.sofa.cml.type.HorizontalAlignEnum;
/*     */ import com.yss.sofa.cml.type.VerticalAlignEnum;
/*     */ 
/*     */ public abstract class BaseBoxElement extends BaseElement
/*     */   implements BoxElement
/*     */ {
/*     */   private static final long serialVersionUID = 1L;
/*     */   protected boolean printRepeated;
/*     */   protected HorizontalAlignEnum horizontalAlign;
/*     */   protected VerticalAlignEnum verticalAlign;
/*     */   protected Padding padding;
/*     */   protected LineBox lineBox;
/*     */   protected Color backcolor;
/*     */   protected int width;
/*     */   protected int height;
/*     */   protected DesignStyle style;
/*     */ 
/*     */   public int getWidth()
/*     */   {
/*  26 */     return this.width;
/*     */   }
/*     */ 
/*     */   public int getHeight()
/*     */   {
/*  31 */     return this.height;
/*     */   }
/*     */ 
/*     */   public void setWidth(int width) {
/*  35 */     this.width = width;
/*     */   }
/*     */ 
/*     */   public void setHeight(int height) {
/*  39 */     this.height = height;
/*     */   }
/*     */ 
/*     */   public Padding getPadding()
/*     */   {
/*  44 */     return this.padding;
/*     */   }
/*     */ 
/*     */   public LineBox getLineBox()
/*     */   {
/*  49 */     return this.lineBox;
/*     */   }
/*     */ 
/*     */   public HorizontalAlignEnum getHorizontalAlign()
/*     */   {
/*  54 */     return this.horizontalAlign;
/*     */   }
/*     */ 
/*     */   public VerticalAlignEnum getVerticalAlign()
/*     */   {
/*  59 */     return this.verticalAlign;
/*     */   }
/*     */ 
/*     */   public Color getBackcolor()
/*     */   {
/*  64 */     return this.backcolor;
/*     */   }
/*     */ 
/*     */   public void setPadding(Padding padding) {
/*  68 */     this.padding = padding;
/*     */   }
/*     */ 
/*     */   public void setHorizontalAlign(HorizontalAlignEnum horizontalAlign) {
/*  72 */     this.horizontalAlign = horizontalAlign;
/*     */   }
/*     */ 
/*     */   public void setVerticalAlign(VerticalAlignEnum verticalAlign) {
/*  76 */     this.verticalAlign = verticalAlign;
/*     */   }
/*     */ 
/*     */   public void setLineBox(LineBox lineBox) {
/*  80 */     this.lineBox = lineBox;
/*     */   }
/*     */ 
/*     */   public void setBackcolor(Color backcolor) {
/*  84 */     this.backcolor = backcolor;
/*     */   }
/*     */ 
/*     */   public void setStyle(DesignStyle style) {
/*  88 */     this.style = style;
/*     */   }
/*     */ 
/*     */   public DesignStyle getStyle()
/*     */   {
/*  93 */     return this.style;
/*     */   }
/*     */ 
/*     */   public boolean isPrintRepeated()
/*     */   {
/*  98 */     return this.printRepeated;
/*     */   }
/*     */ 
/*     */   public void setPrintRepeated(boolean printRepeated) {
/* 102 */     this.printRepeated = printRepeated;
/*     */   }
/*     */ }

/* Location:           X:\repository\com\yss\sofa\cml\cml-api\1.1.0\cml-api-1.1.0.jar
 * Qualified Name:     com.yss.sofa.cml.design.BaseBoxElement
 * JD-Core Version:    0.6.0
 */